package me.hys.http;

import java.util.Map;

/**
 * Author: @author HYS . <br>
 * Date: 2015-10-3 下午9:34:51 . <br>
 * Function:
 */
public interface Http {
	/**
	 * Get请求
	 * 
	 * @param url
	 * @param callback
	 */
	String httpGet(String url, HttpCallback callback);

	/**
	 * Post请求
	 * 
	 * @param callback
	 */
	String httpPost(String url, Map<String, Object> param, HttpCallback callback);
}
